﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Data;
namespace Lmg.Model
{
    /// <summary>
    /// 数据差异日志 sys_sqldifflog
    /// </summary>
    public class sys_sqldifflog
    {
        /// <summary>
        /// 主键
        /// </summary>
        public long Id { get; set; }
        /// <summary>
        /// 表名
        /// </summary>
        public string TableName { get; set; }
        /// <summary>
        /// 业务数据内容
        /// </summary>
        public string BusinessData { get; set; }
        /// <summary>
        /// 差异类型insert，update，delete
        /// </summary>
        public string DiffType { get; set; }
        /// <summary>
        /// 执行sql语句
        /// </summary>
        public string Sql { get; set; }
        /// <summary>
        /// 变更前数据
        /// </summary>
        public string BeforeData { get; set; }
        /// <summary>
        /// 变更后数据
        /// </summary>
        public string AfterData { get; set; }
        /// <summary>
        /// 操作用户名
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 操作时间
        /// </summary>
        public DateTime AddTime { get; set; }
        /// <summary>
        /// 数据库配置id
        /// </summary>
        public string ConfigId { get; set; }
    }
}
